<?php
/**
 * 周舟 hzboye010@163.com
 * addby sublime snippets
 * wallet api
 */
namespace app\system\api;

use app\system\model\Wallet;
use app\common\api\BaseApi;

class WalletApi extends BaseApi{

	const ADD            = "system/WalletApi/add";
	const SAVE           = "system/WalletApi/save";
	const SET_DEC        = "system/WalletApi/setDec";
	const SET_INC        = "system/WalletApi/setInc";
	const SAVE_BY_ID     = "system/WalletApi/saveByID";
	const DELETE         = "system/WalletApi/delete";
	const QUERY          = "system/WalletApi/query";
	const GET_INFO       = "system/WalletApi/getInfo";

	//初始化
	protected function _init(){
		$this->model = new Wallet();
	}
}